import request from '@/utils/request'

// 今日数据
export function todayData(query) {
  return request({
    url: '/system/shouye/todayData',
    method: 'get',
    params: query
  })
}

// 七天内的销货和购货
export function XiaohuoAndGouhuoByWeek(query) {
  return request({
    url: '/system/shouye/XiaohuoAndGouhuoByWeek',
    method: 'get',
    params: query
  })
}

// 各仓库库存
export function kucunBycangku(query) {
  return request({
    url: '/system/shouye/kucunBycangku',
    method: 'get',
    params: query
  })
}

// 当前登陆人所在仓库今日销量排行前10
export function selectXiaoshouChukupaihangByShuliang(query) {
  return request({
    url: '/system/shouye/selectXiaoshouChukupaihangByShuliang',
    method: 'get',
    params: query
  })
}

// 当前登陆人所在仓库今日出勤情况
export function selectTodayYuangongList(query) {
  return request({
    url: '/system/shouye/selectTodayYuangongList',
    method: 'get',
    params: query
  })
}
